package dao;
import java.util.List;
import model.User;
public interface Userdao {
		public boolean doCreate(User user) throws Exception;//创建一个新用户

	    public boolean dodelete(String userid) throws Exception;//通过用户ID删除一个用户

	    public boolean doupdate(User user) throws Exception;//跟新用户信息
	    
	    public User findUserByID(String userid)throws Exception;//通过用户ID查找一个用户

	    public List<User> findAll()throws Exception;//查询所有用户

	   
		
		
	}


